package com.haoze.nurseapp.model;

import com.haoze.common.model.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Table(name = "EMR.PATIENT_PRESC")
public class PatientPrescEntity extends BaseEntity implements Serializable {

    @Id
    @Column(name = "PRESC_ID")
    private String prescId; //主键

    @Column(name = "OUTPAT_NUM")
    private String outpatNum; // 门（急)诊号

    @Column(name = "INPAT_NUM")
    private String inpatNum; // 住院号

    @Column(name = "PAT_TYPE_ID")
    private String patTypeId; // 患者类型代码 PD0000000129

    @Column(name = "DEPT_ID")
    private String deptId; // 科室代码 关联SYS_DEPT_DICT.DEPT_ID

    @Column(name = "WARD_DEPT_ID")
    private String wardDeptId; // 病区代码 关联SYS_DEPT_DICT.DEPT_ID

    @Column(name = "WARD_ROOM_NO")
    private String wardRoomNo; // 病房号

    @Column(name = "BED_NO")
    private String bedNo; // 病床号

    @Column(name = "PRESC_NUM")
    private String prescNum; // 处方编号

    @Column(name = "CREATE_DATETIME")
    private Date createDatetime;

    @Column(name = "EFFECTIVE_DAYS")
    private Integer effectiveDays;

    @Column(name = "CREATE_DEPT_ID")
    private String createDeptId;

    @Column(name = "CREATE_PERSON_ID")
    private String createPersonId;

    @Column(name = "EXAMINE_PERSON_ID")
    private String examinePersonId;

    @Column(name = "DEPLOYMENT_PERSON_ID")
    private String deploymentPersonId;

    @Column(name = "CHECK_PERSON_ID")
    private String checkPersonId;

    @Column(name = "MEDICINE_PERSON_ID")
    private String medicinePersonId;

    @Column(name = "PRESC_REMARK")
    private String prescRemark;

    @Column(name = "PRESC_COSTS")
    private Double prescCosts;

    @Column(name = "CHINESE_PIECES")
    private String chinesePieces;

    @Column(name = "AGENTS_NUMBER")
    private Integer agentsNumber;

    @Column(name = "DECOCTION_METHOD")
    private String decoctionMethod;

    @Column(name = "USED_DRUGS")
    private String usedDrugs;

    @Column(name = "RULE_ID")
    private String ruleId;

    @Column(name = "PRESC_TYPE")
    private String prescType;

    @Column(name = "PRESC_CATEGORY")
    private String prescCategory;

    @Column(name = "PRESC_DIAG")
    private String prescDiag;

    @Column(name = "DRUG_DEPT")
    private String drugDept;

    @Column(name = "STATUS")
    private String status;


    public String getPrescId() {
        return prescId;
    }

    public void setPrescId(String prescId) {
        this.prescId = prescId;
    }

    public String getOutpatNum() {
        return outpatNum;
    }

    public void setOutpatNum(String outpatNum) {
        this.outpatNum = outpatNum;
    }

    public String getInpatNum() {
        return inpatNum;
    }

    public void setInpatNum(String inpatNum) {
        this.inpatNum = inpatNum;
    }

    public String getPatTypeId() {
        return patTypeId;
    }

    public void setPatTypeId(String patTypeId) {
        this.patTypeId = patTypeId;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getWardDeptId() {
        return wardDeptId;
    }

    public void setWardDeptId(String wardDeptId) {
        this.wardDeptId = wardDeptId;
    }

    public String getWardRoomNo() {
        return wardRoomNo;
    }

    public void setWardRoomNo(String wardRoomNo) {
        this.wardRoomNo = wardRoomNo;
    }

    public String getBedNo() {
        return bedNo;
    }

    public void setBedNo(String bedNo) {
        this.bedNo = bedNo;
    }

    public String getPrescNum() {
        return prescNum;
    }

    public void setPrescNum(String prescNum) {
        this.prescNum = prescNum;
    }

    public Date getCreateDatetime() {
        return createDatetime;
    }

    public void setCreateDatetime(Date createDatetime) {
        this.createDatetime = createDatetime;
    }

    public Integer getEffectiveDays() {
        return effectiveDays;
    }

    public void setEffectiveDays(Integer effectiveDays) {
        this.effectiveDays = effectiveDays;
    }

    public String getCreateDeptId() {
        return createDeptId;
    }

    public void setCreateDeptId(String createDeptId) {
        this.createDeptId = createDeptId;
    }

    public String getCreatePersonId() {
        return createPersonId;
    }

    public void setCreatePersonId(String createPersonId) {
        this.createPersonId = createPersonId;
    }

    public String getExaminePersonId() {
        return examinePersonId;
    }

    public void setExaminePersonId(String examinePersonId) {
        this.examinePersonId = examinePersonId;
    }

    public String getDeploymentPersonId() {
        return deploymentPersonId;
    }

    public void setDeploymentPersonId(String deploymentPersonId) {
        this.deploymentPersonId = deploymentPersonId;
    }

    public String getCheckPersonId() {
        return checkPersonId;
    }

    public void setCheckPersonId(String checkPersonId) {
        this.checkPersonId = checkPersonId;
    }

    public String getMedicinePersonId() {
        return medicinePersonId;
    }

    public void setMedicinePersonId(String medicinePersonId) {
        this.medicinePersonId = medicinePersonId;
    }

    public String getPrescRemark() {
        return prescRemark;
    }

    public void setPrescRemark(String prescRemark) {
        this.prescRemark = prescRemark;
    }

    public Double getPrescCosts() {
        return prescCosts;
    }

    public void setPrescCosts(Double prescCosts) {
        this.prescCosts = prescCosts;
    }

    public String getChinesePieces() {
        return chinesePieces;
    }

    public void setChinesePieces(String chinesePieces) {
        this.chinesePieces = chinesePieces;
    }

    public Integer getAgentsNumber() {
        return agentsNumber;
    }

    public void setAgentsNumber(Integer agentsNumber) {
        this.agentsNumber = agentsNumber;
    }

    public String getDecoctionMethod() {
        return decoctionMethod;
    }

    public void setDecoctionMethod(String decoctionMethod) {
        this.decoctionMethod = decoctionMethod;
    }

    public String getUsedDrugs() {
        return usedDrugs;
    }

    public void setUsedDrugs(String usedDrugs) {
        this.usedDrugs = usedDrugs;
    }

    public String getRuleId() {
        return ruleId;
    }

    public void setRuleId(String ruleId) {
        this.ruleId = ruleId;
    }

    public String getPrescType() {
        return prescType;
    }

    public void setPrescType(String prescType) {
        this.prescType = prescType;
    }

    public String getPrescCategory() {
        return prescCategory;
    }

    public void setPrescCategory(String prescCategory) {
        this.prescCategory = prescCategory;
    }

    public String getPrescDiag() {
        return prescDiag;
    }

    public void setPrescDiag(String prescDiag) {
        this.prescDiag = prescDiag;
    }

    public String getDrugDept() {
        return drugDept;
    }

    public void setDrugDept(String drugDept) {
        this.drugDept = drugDept;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}